/*
 * OS.h
 *
 *  Created on: 2012-7-26
 *      Author: yangentao@gmail.com
 */

#ifndef OS_H_
#define OS_H_

#ifndef UNICODE
#define UNICODE
#define _UNICODE
#endif


#ifndef TEXT
#ifdef UNICODE
#define TEXT  L
#else
#define TEXT
#endif
#endif


//std string
#ifdef UNICODE
#define TString wstring
#else
#define TString string
#endif

#define  	CR  TEXT("\r") //char = 13
#define 	LF  TEXT("\n") //char = 10
#define 	CRLF  TEXT"\r\n" //13,10

#include <string>
using namespace std;

namespace OS{

	TString getDelimiter();
};

#endif /* OS_H_ */
